What is the role of the data types inside of < > in Java? [closed]

Posted by Emanuil on Stack Overflow See other posts from Stack Overflow or by Emanuil
Published on 2010-06-10T18:20:34Z Indexed on 2010/06/11 9:22 UTC
Read the original article Hit count: 99

Filed under:
|

Possible Duplicate:
Java Generics

To be more specific, whats the role of the <String> in the following line of code?

private List<String> item = new ArrayList<String>();

© Stack Overflow or respective owner

Related posts about java

Related posts about syntax